import java.util.*;
import java.text.*;

class DateDemo 
{
	public static void main(String[] args) 
	{
		//Date date = new Date();
		//System.out.println(date.toString());
		Date dNow = new Date();
		SimpleDateFormat ft = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
		System.out.println("当前时间为:"+ft.format(dNow));
	}
}
